package cn.kz.hrm.mapper;

import cn.kz.hrm.domain.Pay;
import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kz
 * @since 2020-07-14
 */
public interface PayMapper extends BaseMapper<Pay> {

    /**
     * 返回一个支付单信息
     * @param orderNum
     * @return
     */
    Pay getByOrderNum(String orderNum);

    /**
     * 保存参数
     * @param pay
     */
    void save(Pay pay);
}
